<!--
*- coding = utf-8 -*-
#@Time : 2023/6/26 11:48
#@Author : 管茂良
#@File : index.vue
#@web  : www.php-china.com
#@Software: WebStorm
-->
<template>
  <div class="app-container">
    <TopNav :title="'用户设置'" style="position: relative;border-bottom:1px solid rgba(0,0,0,0.1)">
      <template #leftIcon>
        <SvgIcon @click="handleToBack" :size="'15'" :iconClass="'left'" />
      </template>
    </TopNav>


  </div>
</template>

<script setup lang="ts">
import TopNav from "@/components/topNav/index"
import {handlePageTo} from "@/utils/utils";
import {useRoute,useRouter} from "vue-router";
import {onMounted} from "vue";

let route = useRoute()
let router = useRouter()
//返回首页
const handleToBack = ()=>{
  router.go(-1)
}
onMounted(()=>{
  console.log(route.params,"ssssssssssss");
})

</script>

<style scoped lang="less">

</style>
